package com.saleSystem.common;

public enum ResponseCode {

    SUCCESS(200,"SUCCESS"),
    ERROR(300,"ERROR"),
    NEED_LOGIN(400,"NEED_LOGIN"),
    ILLEGAL_ARGUMENT(500,"ILLEGAL_ARGUMENT");


    private final int status;
    private final String desc;

    ResponseCode(int status, String desc){
        this.status = status;
        this.desc = desc;
    }

    
    public int getStatus() {
		return status;
	}


	public String getDesc(){
        return desc;
    }
}
